package com.ruoyi.yuan.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大陆信息对象 yuan_mainland
 * 
 * @author guifeng
 * @date 2022-08-25
 */
public class Mainland extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 大陆ID */
    private Long mainlandId;

    /** 大陆名 */
    @Excel(name = "大陆名")
    private String mainlandName;

    /** 星球ID */
    @Excel(name = "星球ID")
    private Long starId;

    /** 国家信息信息 */
    private List<Nation> nationList;

    public void setMainlandId(Long mainlandId) 
    {
        this.mainlandId = mainlandId;
    }

    public Long getMainlandId() 
    {
        return mainlandId;
    }
    public void setMainlandName(String mainlandName) 
    {
        this.mainlandName = mainlandName;
    }

    public String getMainlandName() 
    {
        return mainlandName;
    }
    public void setStarId(Long starId) 
    {
        this.starId = starId;
    }

    public Long getStarId() 
    {
        return starId;
    }

    public List<Nation> getNationList()
    {
        return nationList;
    }

    public void setNationList(List<Nation> nationList)
    {
        this.nationList = nationList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mainlandId", getMainlandId())
            .append("mainlandName", getMainlandName())
            .append("starId", getStarId())
            .append("nationList", getNationList())
            .toString();
    }
}
